* {
  box-sizing: border-box;
}

@media screen and (max-width:600px) {
  div.grid-container {
    flex-direction: column
  }
  ul.topnav li.right, 
  ul.topnav li {float: none;}
}   

header {
  background-image: url(images/header.jpg);
  background-color: #ffffff;
  border: 2px solid #542179; 
  font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
  text-align: center;
  position: relative;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 10px;
  padding: 10px;
  border-radius: 25px;
  max-width: 900px;
}

a {
  color: rgb(95, 63, 121);
  font-weight: bold;
}


li{
margin: 20px;

}


ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

ul li {
  float: left;
  margin: 0px;
}

ul li a{
  display: block;
  color: #8041ac;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

ul li a:hover {
  background-color: #c5acff;
  border-radius: 10px;
}

li {
text-decoration: none;
padding: 10;  
}

body{
  background-image: url(images/background.jpg);
background-color: #c5acff;
color: #542179;
font-family: Arial;

}

.box {
  background-color: #ffffff;
  border: 2px solid #542179;
  border-style:solid;
  border-radius: 10px;
  padding: 5px;
  margin: 1px;
  height: fit-content;
  text-align: center;
  
  ;
}

.box2 {
  background-color: #ffffff;
  border: 2px solid rgb(84, 33, 121);
  border-style:solid;
  border-radius: 10px;
  position: relative;
  padding: 5px;
  margin: 1px;
  height: fit-content;
  width: 900px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  ;
}


.footer {
  background-color: #ffffff;
  border: 2px solid rgb(84, 33, 121);
  border-style:solid;
  border-radius: 10px;
  padding: 0px;
  margin: 1px;
  margin-top: 10px;
  height: fit-content;
  width: 900px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  ;
}

.grid-container {
  display: grid;
  flex-direction: row;
  grid-template-areas: "col1 col2 col3"; 
   grid-template-columns: 200px 450px 250px;
 justify-content: center;
 display: flexbox;
}



#g1 {
  grid-area: col1;
  overflow-y: scroll;
  height: 430px;
}

#g2 {
  grid-area: col2;
  text-align: left;
}

#g3 {
  grid-area: col3;
  overflow-y: scroll;
  height: 430px;
}

#g4 {
  overflow-y: scroll;
  max-height: 200px;
}

#g5 {
  overflow-y: scroll;
  max-height: 200px;
}

#g6 {
  overflow-y: scroll;
  max-height: 200px;
}

.grid-containerabout {
  display: grid;
  grid-template-areas: "col1 col2 col3"; 
   grid-template-columns: 250px 400px 250px;
   justify-content: center; 
   display: flexbox;
}



#profilepic {
  grid-area: col1;
  max-height: 350px;
  margin-top: 150px;
  border-radius: 70px;
}

#about {
  grid-area: col2;
  height: 350px;
  overflow-y: scroll;
}

#interests{
  grid-area: col3;
  overflow-y: scroll;
  max-height: 700px;
}

#website{
  grid-area: col2;
  overflow-y: scroll;
  max-height: 350px;
  margin-top: 350px;
}

 #none{
  grid-area: col1;
  max-height: 350px;
  margin-top: 0;
  display: none;
}

.grid-containerpage {
  display: grid;
  grid-template-areas: "col1"; 
   grid-template-columns: 900px;
   justify-content: center; 
   display: flexbox;
}

.grid-containerlinks {
  display: grid;
  grid-template-areas: "col1 col2"; 
   grid-template-columns: 400px 500px;
   justify-content: center; 
}
.grid-containerlinks2 {
  display: grid;
  grid-template-areas: "col1 col2"; 
   grid-template-columns: 900px;
   justify-content: center; 
   display: flexbox;
}

#g11 {
  grid-area: col2;
  height: 300px;
 overflow-y: scroll;
}

@media only screen and (max-width: 600px){
  
.grid-container{
    size: 100%;
    size-adjust: 100%;
    display: flex;
    flex-direction: column;
  }

  .grid-containerabout{
    size: 100%;
    size-adjust: 100%;
    display: flex;
    flex-direction: column;
  }

  .grid-containerlinks{
    size: 100%;
    size-adjust: 100%;
    display: flex;
    flex-direction: column;
  }
  .grid-containerlinks2{
    size: 100%;
    size-adjust: 100%;
    display: flex;
    flex-direction: column;
  }

  .grid-containerpage{
    size: 100%;
    size-adjust: 100%;
    display: flex;
    flex-direction: column;
  }

  #profilepic {
  display: none;
}

 #about {
  grid-area: col2;
  height: 350px;
  overflow-y: scroll;
}

 #interests{
  grid-area: col3;
  overflow-y: scroll;
  max-height: 350px;
}

 #website{
  grid-area: col2;
  overflow-y: scroll;
  max-height: 350px;
  margin-top: 0px;
}

 #none {
  grid-area: col1;
  height: 0px;
  margin-top: 0;
  display: none;
}
  
   .box {
  width: 100%;  
  }

  .box2{
  width: 100%;  
  }

  .footer {
  width: 100%;
  }
   
  .grid-container{
  width: 100%;  
  }
}

/*tabs/
/* Set height of body and the document to 100% to enable "full page tabs" */
body, html {
  height: fit-content;
  margin: 0;
  font-family: Arial;
}

/* Style tab links */
.tablink {
  background-color: #d2bdff;
  color: #1a0739;
  float: left;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 16px;
  font-size: 17px;
  width: 33%;
}

.tablink:hover {
  background-color: #a594d8;
}

/* Style the tab content (and add height:100% for full page content) */
.tabcontent {
  color: #1a0739;
  display: none;
  padding: 100px 20px;
  height: 100%;
}


/*Hover Zoom*/
.zoom {
  background-color: rgba(255, 255, 255, 0);
  transition: transform .2s; /* Animation */
  width: 100px;
  height: 100px;
  align-self: center;
  margin: 0 auto;
  margin-top: 10px;
}

/*gallery lightbox*/

.row > .column {
  padding: 0 8px;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Create four equal columns that floats next to eachother */
.column {
  float: left;
  width: 25%;
}

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(28, 8, 40, 0.633);
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  width: 90%;
  max-width: 500px;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #9e8cd7;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: relative;
  top: 50%;
  width: auto;
  padding: 5px;
  margin-top: -50px;
  color: rgb(29, 1, 74);
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 3px 3px 3px 3px;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(24, 4, 71, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: rgb(32, 0, 80);
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(42, 4, 65, 0.2), 0 6px 20px 0 rgba(42, 9, 62, 0.19);
}

.zoom:hover {
  transform: scale(1.5); /* (150% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}

/* Responsive layout - makes a two column-layout instead of four columns */



@media screen and (max-width: 800px) {
  .column {
    display: flex;
  }
.row > .column {
  display: flex;
}
.row:after {
  content: "";
  display: flex;
  flex-direction: column;
  clear: both;
}
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    display: flex;
  }

  .row > .column {
  display: table;
}

.row:after {
  content: "";
  display: flex;
  flex-direction: column;
  clear: both;
}
}

/*Slideshow*/

* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 500px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: relative;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 5px;
  color: rgb(29, 1, 74);
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 3px 3px 3px 3px;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(24, 4, 71, 0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Fading animation */
.fade {
  animation-name: fade;
  animation-duration: 1.5s;
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 800px) {
  .column {
    flex: 50%;
    max-width: 50%;
  }
}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 100%;
  }
}

/*BLOG*/
.grid-containerblog {
  display: grid;
  grid-template-areas: "col1"; 
   grid-template-columns: 900px;
   justify-content: center; 
   display: flexbox;
}

.boxblog {
  background-color: #ffffff;
  border: 2px solid #542179;
  border-style:solid;
  border-radius: 10px;
  padding: 5px;
  margin: 1px;
  height: fit-content;
  ;
}

/*POST LIST STYLE*/
#postlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
#recentpostlistdiv ul {
  font-size: 1.2em;
  padding: 0;
  list-style-type: none;
}
.moreposts {
  font-size: 0.8em;
  margin-top: 0.2em;
}

/*NEXT AND PREVIOUS LINKS STYLE*/
#nextprev {
  text-align: center;
  margin-top: 1.4em;
}

/*DISQUS STYLE*/
#disqus_thread {
  margin-top: 1.6em;
}

/*FOOTER STYLE*/
#footer {
  font-size: 0.8em;
  background-color: #ffffff;
  border: 2px solid #542179;
  border-style:solid;
  border-radius: 10px;
  padding: 5px;
  margin: 1px;
  height: fit-content;
  text-align: center
  ;
}
